<%@ page import="com.nus.beans.User" %>
<%@ page import="org.apache.commons.lang3.StringEscapeUtils" %>
<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 9/16/12
  Time: 12:55 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>Developer home page</title></head>
<body>Developer home page</body>

<% User user = (User) session.getAttribute("user"); %>
<table>
    <tr>
        <td>Welcome, <%= StringEscapeUtils.escapeXml(user.getLastName())%> </td>
        <td> <form action="logout.do" method="post"><input type="submit" value="Logout"></form> </td>
    </tr>
</table>
<br/>

<table>
    <tr><td><a href="viewInfo.do">View Info</a> <td></tr>
    <tr><td><a href="applyLeave.do">Apply Leave</a> <td></tr>
	<tr><td><a href="viewTeams.do">View Teams</a> <td></tr>
	<tr><td><a href="viewProjects.do">View Projects</a> <td></tr>		
</table>
</html>